<?php
	/**
	 * Value object representation of a system theme.
	 */
	class ThemeVO {
		
		var $_explicitType="vo.ThemeVO";
		
		/** The unique ID of the theme. */
		var $themeUID;
		
		/** The name of the theme. */
		var $themeName;
		
		/** A short description of the theme. */
		var $description;
		
		/** Creates a new instance of a ThemeVO. */
		public function ThemeVO() {}
		
		/**
		 * Maps a database record to a ThemeVO.
		 * @param $row The record to map to a ThemeVO.
		 * @return A new mapped instance of a ThemeVO.
		 */
		public static function mapObject($row) {
			
			$vo = new ThemeVO();
			
			$vo->themeUID 		= $row["themeUID"];
			$vo->themeName 		= $row["themeName"];
			$vo->description 	= $row["description"];
			
			return $vo;
		}
	}
?>